<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tld/struts-bean" prefix="bean"%> 
<%@ taglib uri="/WEB-INF/tld/struts-html" prefix="html"%>
<%@ taglib uri="/WEB-INF/tld/struts-logic" prefix="logic" %>
<%@ taglib uri="/WEB-INF/tld/jstl/c" prefix="c" %>
<%@ taglib uri="/WEB-INF/tld/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="/WEB-INF/tld/jstl/fn" prefix="fn" %>
<%@ taglib uri="/WEB-INF/tld/FCKeditor" prefix="FCK" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html locale="true">
  <head>
    <html:base />
    
    <title>添加资讯类别和广告类别</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<script type="text/javascript">
 function check(){
  var classTypeName=document.getElementById('classTypeName').value;
     if(classTypeName==null||classTypeName==''){
          alert('类别名称不可以为空！！！');
          return false;
     }
    return true;
 }
</script>

  </head>
<body>
<logic:present name="add">
<bean:write name="add" filter="false"/>
</logic:present>
<div class="cpxx1">
   <h1><img src="image/qqddc_shop3.gif" width="720" height="7" /></h1>
   <p>添加资讯类别和广告类别</p>
   <div class="cpxx2">
   
   
    <html:form action="/admin/bmClassType.do?method=add" onsubmit="return check();">
     <table width="100%" border="0">
       <tr>
         <td width="14%"><b>类别名称：</b></td>
         <td width="86%"><input type="text" name="classTypeName" class="cpxx_int" size="18" /><font color="red">*</font>
         </td>
         
       </tr>
       <tr>
         <td><b>是否删除：</b></td>
         <td><label>
         	<html:radio property="del" value="0" >否</html:radio>
			<html:radio property="del" value="1" >是</html:radio></label></td>
       </tr>
	   <tr>
         <td></td>
         <td><label>
           <input type="submit" name="Submit" value="提交" class="cpxx_int1" />
           <input type="reset" name="Submit2" value="重置" class="cpxx_int1" />
         </label>
         
         </td>
       </tr>
     </table>
         </html:form>
  </div>
   <h1><img src="image/qqddc_shop1.gif" width="720" height="8" /></h1>
</div>
</body>
</html:html>
